package com.myweb.demo.entity;

import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import java.util.Date;

public class Reply{

    private String replyContent;
    @Temporal(TemporalType.TIMESTAMP)
    private Date replyDate;

    public Reply(String replyContent,Date replyDate){
        this.replyContent = replyContent;
        this.replyDate = replyDate;
    }

    public String getReplyContent() {
        return replyContent;
    }

    public void setReplyContent(String replyContent) {
        this.replyContent = replyContent;
    }

    public Date getReplyDate() {
        return replyDate;
    }

    public void setReplyDate(Date replyDate) {
        this.replyDate = replyDate;
    }
}
